package com.example.shiro.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * @author lijilong
 * @version 1.0
 * @Description:
 * @CreateDate 2018/8/7 13:46
 */
@Data
public class Role implements Serializable{
    private static final long serialVersionUID = 1L;

    private int rid;
    private String rname;
    private String username;
    private Set<User> users = new HashSet<>();
    private Set<Module> modules = new HashSet<>();
}
